package com.bhs.sansong.bean;

import java.util.List;

public class Options {

    private String code;
    private boolean status;
    private String msg;
    private DataDTO data;
    private String timer;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public String getTimer() {
        return timer;
    }

    public void setTimer(String timer) {
        this.timer = timer;
    }

    public static class DataDTO {
        private int total_num;
        private List<AreaNumDTO> area_num;
        private List<ParkListDTO> park_list;

        public int getTotal_num() {
            return total_num;
        }

        public void setTotal_num(int total_num) {
            this.total_num = total_num;
        }

        public List<AreaNumDTO> getArea_num() {
            return area_num;
        }

        public void setArea_num(List<AreaNumDTO> area_num) {
            this.area_num = area_num;
        }

        public List<ParkListDTO> getPark_list() {
            return park_list;
        }

        public void setPark_list(List<ParkListDTO> park_list) {
            this.park_list = park_list;
        }

        public static class AreaNumDTO {
            private String area_name;
            private int line_num;

            public String getArea_name() {
                return area_name;
            }

            public void setArea_name(String area_name) {
                this.area_name = area_name;
            }

            public int getLine_num() {
                return line_num;
            }

            public void setLine_num(int line_num) {
                this.line_num = line_num;
            }
        }

        public static class ParkListDTO {
            private int id;
            private String name;
            private int num;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }
        }
    }
}
